package com.example.lotterysystem.service.activitystatus.operator;

import com.example.lotterysystem.service.dto.ConvertActivityStatusDTO;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: Spider-Man
 * Date: 2025-09-15
 * Time: 11:11
 */
public abstract class AbstractActivityOperator {
    /**
     * 控制处理顺序(活动,奖品,人员) 扭转状态
     * @return
     */
    public abstract Integer sequence();

    /**
     * 是否需要转换
     */
    public abstract Boolean needConvert(ConvertActivityStatusDTO convertActivityStatusDTO);


    /**
     * 转换方法
     * @param convertActivityStatusDTO
     * @return
     */
    public abstract Boolean convert(ConvertActivityStatusDTO convertActivityStatusDTO);
}
